import request from "@/utils/request";

// 获取用户学习计划表
export function getPlanList() {
    return request({
        url:'/user/plan/list',
        method:'get'
    })
}

// 根据学习计划id查询用户课程
export function getCourseById(params) {
    return request({
        url:'/user/plan/course/list',
        method:'get',
        params
    })
}
